package com.xmtlxx.wms.service.impl;

import com.xmtlxx.wms.domain.vo.ViewingPersonVo;
import com.xmtlxx.wms.mapper.ViewingPersonMapper;
import com.xmtlxx.wms.service.IViewingDtlService;
import com.xmtlxx.wms.service.IViewingPersonService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class ViewingPersonServiceImpl implements IViewingPersonService {
    private final ViewingPersonMapper viewingPersonMapper;

    @Override
    public List<ViewingPersonVo> queryList(String id) {
        return viewingPersonMapper.selectViewPersonListByViewId(id);
    }
}
